package com.study.jyg.rxjava2study.activity.mywidget;

import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;

import com.study.jyg.rxjava2study.R;
import com.study.jyg.rxjava2study.widget.ProgressButton;

import butterknife.BindView;
import butterknife.ButterKnife;

public class ProgressButtonActivity extends AppCompatActivity {

    @BindView(R.id.toolbar)
    Toolbar toolbar;
    @BindView(R.id.progress_circular)
    ProgressButton progressCircular;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_progress_button);
        ButterKnife.bind(this);

        setSupportActionBar(toolbar);
        toolbar.setNavigationOnClickListener(v -> finish());
    }
}
